package com.xinqi.modules.chat.chat.friend.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.BaseEntity;
import com.xinqi.modules.chat.enums.apply.FriendApplyComnonEnum;
import com.xinqi.modules.chat.enums.apply.FriendApplyIsReadEnum;
import com.xinqi.modules.chat.enums.apply.FriendApplyStatusEnum;
import lombok.Getter;
import lombok.Setter;

/**
 * 加好友申请列表实体层
 *
 * @author: system
 * @date: 2023/01/12
 */
@Setter
@Getter
@TableName("ca_chat_friend_apply")
public class ChatFriendApplyEntity extends BaseEntity {
    /**
     * 申请人ID
     */
    @TableField(value = "applyer_id")
    private Long applyerId;
    /**
     * 接收人ID
     */
    @TableField(value = "recever_id")
    private Long receverId;
    /**
     * 重命名
     */
    @TableField(value = "renames")
    private String renames;
    /**
     * 状态:0=未处理,1=已同意,2=已拒绝,3=已过期
     */
    @TableField(value = "status")
    private Integer status;
    /**
     * 1是新奇号，2是手机号，3扫码添加，4课程板块信息添加,5群聊添加
     */
    @TableField(value = "comnon")
    private Integer comnon;
    /**
     * 已读未读标志
     */
    @TableField(value = "is_read")
    private Integer isRead;
}
